﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014FD RID: 5373
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WolfBroGameDataChangeScNotify : IMessage<WolfBroGameDataChangeScNotify>, IMessage, IEquatable<WolfBroGameDataChangeScNotify>, IDeepCloneable<WolfBroGameDataChangeScNotify>, IBufferMessage
	{
		// Token: 0x170043A9 RID: 17321
		// (get) Token: 0x0600F068 RID: 61544 RVA: 0x00281CCD File Offset: 0x0027FECD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WolfBroGameDataChangeScNotify> Parser
		{
			get
			{
				return WolfBroGameDataChangeScNotify._parser;
			}
		}

		// Token: 0x170043AA RID: 17322
		// (get) Token: 0x0600F069 RID: 61545 RVA: 0x00281CD4 File Offset: 0x0027FED4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WolfBroGameDataChangeScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170043AB RID: 17323
		// (get) Token: 0x0600F06A RID: 61546 RVA: 0x00281CE6 File Offset: 0x0027FEE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WolfBroGameDataChangeScNotify.Descriptor;
			}
		}

		// Token: 0x0600F06B RID: 61547 RVA: 0x00281CED File Offset: 0x0027FEED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameDataChangeScNotify()
		{
		}

		// Token: 0x0600F06C RID: 61548 RVA: 0x00281CF5 File Offset: 0x0027FEF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameDataChangeScNotify(WolfBroGameDataChangeScNotify other) : this()
		{
			this.wolfBroInfo_ = ((other.wolfBroInfo_ != null) ? other.wolfBroInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F06D RID: 61549 RVA: 0x00281D2A File Offset: 0x0027FF2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameDataChangeScNotify Clone()
		{
			return new WolfBroGameDataChangeScNotify(this);
		}

		// Token: 0x170043AC RID: 17324
		// (get) Token: 0x0600F06E RID: 61550 RVA: 0x00281D32 File Offset: 0x0027FF32
		// (set) Token: 0x0600F06F RID: 61551 RVA: 0x00281D3A File Offset: 0x0027FF3A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo WolfBroInfo
		{
			get
			{
				return this.wolfBroInfo_;
			}
			set
			{
				this.wolfBroInfo_ = value;
			}
		}

		// Token: 0x0600F070 RID: 61552 RVA: 0x00281D43 File Offset: 0x0027FF43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WolfBroGameDataChangeScNotify);
		}

		// Token: 0x0600F071 RID: 61553 RVA: 0x00281D51 File Offset: 0x0027FF51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WolfBroGameDataChangeScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.WolfBroInfo, other.WolfBroInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F072 RID: 61554 RVA: 0x00281D84 File Offset: 0x0027FF84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.wolfBroInfo_ != null)
			{
				num ^= this.WolfBroInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F073 RID: 61555 RVA: 0x00281DC0 File Offset: 0x0027FFC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F074 RID: 61556 RVA: 0x00281DC8 File Offset: 0x0027FFC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F075 RID: 61557 RVA: 0x00281DD1 File Offset: 0x0027FFD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.wolfBroInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.WolfBroInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F076 RID: 61558 RVA: 0x00281E04 File Offset: 0x00280004
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.wolfBroInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.WolfBroInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F077 RID: 61559 RVA: 0x00281E44 File Offset: 0x00280044
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WolfBroGameDataChangeScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.wolfBroInfo_ != null)
			{
				if (this.wolfBroInfo_ == null)
				{
					this.WolfBroInfo = new WolfBroInfo();
				}
				this.WolfBroInfo.MergeFrom(other.WolfBroInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F078 RID: 61560 RVA: 0x00281E98 File Offset: 0x00280098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F079 RID: 61561 RVA: 0x00281EA4 File Offset: 0x002800A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.wolfBroInfo_ == null)
					{
						this.WolfBroInfo = new WolfBroInfo();
					}
					input.ReadMessage(this.WolfBroInfo);
				}
			}
		}

		// Token: 0x04005EF0 RID: 24304
		private static readonly MessageParser<WolfBroGameDataChangeScNotify> _parser = new MessageParser<WolfBroGameDataChangeScNotify>(() => new WolfBroGameDataChangeScNotify());

		// Token: 0x04005EF1 RID: 24305
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005EF2 RID: 24306
		public const int WolfBroInfoFieldNumber = 15;

		// Token: 0x04005EF3 RID: 24307
		private WolfBroInfo wolfBroInfo_;
	}
}
